home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 2.toast / pc / tool chest / development kits / mpw related / dts mpw goodies / initprojector < prev    next >
Encoding:
Text File  |  1990-09-14  |  648 b   |  27 lines

  1. # InitProjector        Andrew Shebanow/Dave Burnard     6/28/88
  2. #
  3. # Setup file for projects
  4.  
  5. # save exit status
  6. Set OldExit {Exit}
  7. Set Exit 0
  8.  
  9. # Define and Export global variables needed by SetProjector and MountProjector
  10. Set RootProjectList ""
  11. Set ProjectNameList ""
  12. Export RootProjectList
  13. Export ProjectNameList
  14.  
  15. # EDIT this list to match the folders where you put your projects
  16. for ProjDir in `Catenate "{ProjDirList}"`
  17.     # List all subdirectories of specified directory
  18.     Set TmpProjList "`Files -d -f "{ProjDir}"`"
  19.     Set RootProjectList "{RootProjectList} {TmpProjList}"
  20. End
  21.  
  22. # get rid of variables
  23. Unset ProjDir
  24.  
  25. # restore exit status
  26. Set Exit {OldExit}
  27.